<!DOCTYPE html>
<html lang="en">
  <head>
    <title>BorderStyle Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>
    <a name="//apple_ref/swift/Class/BorderStyle" class="dashAnchor"></a>
    <a title="BorderStyle Class Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">Proton Docs</a> (68% documented)</p>
        <p class="header-right"><a href="https://github.com/rajdeep/proton"><img src="../img/gh.png" alt="GitHub"/>View on GitHub</a></p>
        <div class="header-right">
          <form role="search" action="../search.json">
            <input type="text" placeholder="Search documentation" data-typeahead>
          </form>
        </div>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">Proton Reference</a>
        <img id="carat" src="../img/carat.png" alt=""/>
        BorderStyle Class Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/Attachment.html">Attachment</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/AttributesToggleCommand.html">AttributesToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BackgroundStyle.html">BackgroundStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BoldCommand.html">BoldCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BorderStyle.html">BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorCommandExecutor.html">EditorCommandExecutor</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorView.html">EditorView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/EditorViewContext.html">EditorViewContext</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/FontTraitToggleCommand.html">FontTraitToggleCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/GridCell.html">GridCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/GridView.html">GridView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ItalicsCommand.html">ItalicsCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListCommand.html">ListCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListIndentCommand.html">ListIndentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListOutdentCommand.html">ListOutdentCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ListTextProcessor.html">ListTextProcessor</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/ShadowStyle.html">ShadowStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/StrikethroughCommand.html">StrikethroughCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableCell.html">TableCell</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableCellContentView.html">TableCellContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/TableView.html">TableView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/UnderlineCommand.html">UnderlineCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/Utility.html">Utility</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Enums/AsyncTextResolvingResult.html">AsyncTextResolvingResult</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/AttachmentSize.html">AttachmentSize</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/AttachmentType.html">AttachmentType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/BackgroundMode.html">BackgroundMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorContentMode.html">EditorContentMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorContentType.html">EditorContentType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorHeight.html">EditorHeight</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/EditorKey.html">EditorKey</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridColumnWidth.html">GridColumnWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridColumnWidth/ConstrainedWidth.html">– ConstrainedWidth</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/GridViewError.html">GridViewError</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/Indentation.html">Indentation</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/ListLineMarker.html">ListLineMarker</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/ListMarkerDebugOption.html">ListMarkerDebugOption</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/RoundedCornerStyle.html">RoundedCornerStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/TableViewError.html">TableViewError</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions/EditorContentName.html">EditorContentName</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSAttributedString.html">NSAttributedString</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSAttributedString/Key.html">– Key</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSParagraphStyle.html">NSParagraphStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/NSRange.html">NSRange</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/String.html">String</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/TextProcessingPriority.html">TextProcessingPriority</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UIFont.html">UIFont</a>
              </li>
              <li class="nav-group-task">
                <a href="../Extensions/UITextRange.html">UITextRange</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/AsyncAttachmentRenderingDelegate.html">AsyncAttachmentRenderingDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols.html#/s:6Proton23AsyncDeferredRenderableP">AsyncDeferredRenderable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AsyncTextResolving.html">AsyncTextResolving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentEncoding.html">AttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentOffsetProviding.html">AttachmentOffsetProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttachmentTypeIdentifying.html">AttachmentTypeIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/AttributesDecoding.html">AttributesDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/BackgroundColorObserving.html">BackgroundColorObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/BoundsObserving.html">BoundsObserving</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/DynamicBoundsProviding.html">DynamicBoundsProviding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorCommand.html">EditorCommand</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorCommandExecutorDelegate.html">EditorCommandExecutorDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentDecoding.html">EditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentEncoder.html">EditorContentEncoder</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentEncoding.html">EditorContentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentIdentifying.html">EditorContentIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorContentView.html">EditorContentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorListFormattingProvider.html">EditorListFormattingProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorTextEncoding.html">EditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/EditorViewDelegate.html">EditorViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/Focusable.html">Focusable</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/GridViewDelegate.html">GridViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/LineNumberProvider.html">LineNumberProvider</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/SequenceGenerator.html">SequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/TableViewDelegate.html">TableViewDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/TextProcessing.html">TextProcessing</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Structs/AnyAttributeDecoding.html">AnyAttributeDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorContentAttachmentEncoding.html">AnyEditorContentAttachmentEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorContentDecoding.html">AnyEditorContentDecoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AnyEditorTextEncoding.html">AnyEditorTextEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentContentIdentifier.html">AttachmentContentIdentifier</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentImage.html">AttachmentImage</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/AttachmentSelectionStyle.html">AttachmentSelectionStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/CommandName.html">CommandName</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/DiamondBulletSequenceGenerator.html">DiamondBulletSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/EditorContent.html">EditorContent</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/EditorLine.html">EditorLine</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GradientColors.html">GradientColors</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridCellStyle.html">GridCellStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridCellStyle/BorderStyle.html">– BorderStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridColumnConfiguration.html">GridColumnConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridConfiguration.html">GridConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridRowConfiguration.html">GridRowConfiguration</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/GridStyle.html">GridStyle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/Gutter.html">Gutter</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/LineFormatting.html">LineFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/LineNumberFormatting.html">LineNumberFormatting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/ListItem.html">ListItem</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/ListParser.html">ListParser</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/NumericSequenceGenerator.html">NumericSequenceGenerator</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/SquareBulletSequenceGenerator.html">SquareBulletSequenceGenerator</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton15AttachmentRangea">AttachmentRange</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton14AttachmentViewa">AttachmentView</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton25AttachmentViewIdentifyinga">AttachmentViewIdentifying</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton10Attributesa">Attributes</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton9Processeda">Processed</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:6Proton22TextProcessingPrioritya">TextProcessingPriority</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>BorderStyle</h1>
              <div class="declaration">
                <div class="language">
                  
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">class</span> <span class="kt">BorderStyle</span></code></pre>

                </div>
              </div>
            <p>Border style for <code>backgroundStyle</code> attribute</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton11BorderStyleC5colorSo7UIColorCvp"></a>
                    <a name="//apple_ref/swift/Property/color" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton11BorderStyleC5colorSo7UIColorCvp">color</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Color of border</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">color</span><span class="p">:</span> <span class="kt">UIColor</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton11BorderStyleC9lineWidth14CoreFoundation7CGFloatVvp"></a>
                    <a name="//apple_ref/swift/Property/lineWidth" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton11BorderStyleC9lineWidth14CoreFoundation7CGFloatVvp">lineWidth</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Width of the border</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">let</span> <span class="nv">lineWidth</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:6Proton11BorderStyleC9lineWidth5colorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc"></a>
                    <a name="//apple_ref/swift/Method/init(lineWidth:color:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:6Proton11BorderStyleC9lineWidth5colorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc">init(lineWidth:<wbr>color:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">lineWidth</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">,</span> <span class="nv">color</span><span class="p">:</span> <span class="kt">UIColor</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2024 <a class="link" href="" target="_blank" rel="external noopener">Rajdeep Kwatra</a>. All rights reserved. (Last updated: 2024-05-15)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</html>
